package com.angel.provider.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.angel.core.base.BaseProviderImpl;
import com.angel.dao.health.SysUserRoleMapper;
import com.angel.health.SysUserRole;
import com.angel.provider.sys.SysManagerUserRoleProvider;

/**
 * @author cheng sir
 * 2016年9月14日上午10:29:29
 */
@Service
public class SysManagerUserRoleProviderImpl extends BaseProviderImpl<SysUserRole> implements SysManagerUserRoleProvider {

	@Autowired
	private SysUserRoleMapper mapper;

	//删除用户角色关联
	public int delete(Integer id) {
		return mapper.deleteByPrimaryKey(id);
	}

	
}
